package cn.cnic.user.component.system.mapper;

import cn.cnic.user.component.system.model.CurrentOrganization;
import cn.cnic.user.component.system.model.CurrentOrganizationExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CurrentOrganizationMapper {
    int countByExample(CurrentOrganizationExample example);

    int deleteByExample(CurrentOrganizationExample example);

    int deleteByPrimaryKey(String id);

    int insert(CurrentOrganization record);

    int insertSelective(CurrentOrganization record);

    List<CurrentOrganization> selectByExample(CurrentOrganizationExample example);

    CurrentOrganization selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") CurrentOrganization record, @Param("example") CurrentOrganizationExample example);

    int updateByExample(@Param("record") CurrentOrganization record, @Param("example") CurrentOrganizationExample example);

    int updateByPrimaryKeySelective(CurrentOrganization record);

    int updateByPrimaryKey(CurrentOrganization record);

    int insertList(List<CurrentOrganization> list);
}